package com.wangzhiwen.pilipili.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wangzhiwen.pilipili.entity.UserEntity;
import com.wangzhiwen.pilipili.utils.PageUtils;

import com.wangzhiwen.pilipili.entity.LoginLogEntity;

import jakarta.servlet.http.HttpServletRequest;
import java.util.Map;


public interface LoginLogService extends IService<LoginLogEntity> {

    /**
     * 查找登录历史
     * */
    PageUtils queryPage(HttpServletRequest request, Map<String, Object> params);


    /**
     * 保存登录日志
     * */
    void saveLoginLog(UserEntity userEntity, HttpServletRequest request);
}

